package com.bckj.fastboot.upms.biz.core.user.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * 用户信息缓存事件
 */
public class UserCacheEvent extends ApplicationEvent {

    @Getter
    private final int type;
    @Getter
    private final Object value;

    public UserCacheEvent(int type, Object value) {
        super(value);
        this.type = type;
        this.value = value;
    }
}
